package com.nuc.ENetcom.action;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.nuc.ENetcom.service.BookService;
import com.nuc.ENetcom.utils.PageUtil;

@Controller
public class BookAction {
@Autowired
BookService service;
@RequestMapping("/getBookPage.action")
public @ResponseBody PageUtil<?> getBookPage( int pageno, int pagesize){
	PageUtil<?> page=service.getPage1(pageno, pagesize);
	 return page; 
}
}
